{
	//return json_beautify(json_encode(argument0));
	var f = file_text_open_write(argument0);
	file_text_write_string(f,json_beautify(json_encode(argument1)))
	file_text_close(f);
	/*
	var f = file_text_open_read(global.SelfDirectory+"Config.json");
		var json_string = string("");
		while(file_text_eof(f) == false){
			//string_replace(file_text_read_string(f), chr(9)," ")
			var temstr = file_text_read_string(f);
			show_debug_message(temstr);
			//string_insert(temstr,json_string,string_length(json_string))
			json_string += temstr;
			file_text_readln(f);
		}
		var tem = json_decode(json_string);
		//show_message(json_string);
		string_replace_all(json_string, chr(9)," ");
		string_replace_all(json_string, chr(10)," ");
		//show_message(json_string);
		var tem = json_decode(json_string);
		file_text_close(f);
		*/
		return;
}
